package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsSubjectCategoryDO;
import com.macro.mall.model.cms.CmsSubjectCategoryQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsSubjectCategoryMapper  extends BaseMapper<CmsSubjectCategoryDO> {
    long countByExample(CmsSubjectCategoryQuery example);

    int deleteByExample(CmsSubjectCategoryQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsSubjectCategoryDO record);

    int insertSelective(CmsSubjectCategoryDO record);

    List<CmsSubjectCategoryDO> selectByExample(CmsSubjectCategoryQuery example);

    CmsSubjectCategoryDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsSubjectCategoryDO record, @Param("example") CmsSubjectCategoryQuery example);

    int updateByExample(@Param("record") CmsSubjectCategoryDO record, @Param("example") CmsSubjectCategoryQuery example);

    int updateByPrimaryKeySelective(CmsSubjectCategoryDO record);

    int updateByPrimaryKey(CmsSubjectCategoryDO record);
}
